package cn.touna.jss.common.entity;

import cn.touna.risk.api.contraints.Mobile;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 名字，手机号
 */
public class NameMobileEntity {
    @NotBlank
    private String name;
    @Mobile
    private String mobile;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
